<?php namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Services\RoleService;

class RoleController extends Controller
{

    public function getIndex(RoleService $roleService, Request $request)
    {
        return view('admin.role.roles', [
            'request' => $request,
            'roles' => $roleService->getList($request)
        ]);
    }
}